<?php
if (!defined('CX')) {
    exit();
}

/**
 * 站点配置
 * 
 * @author 星期八 <ixqbar@gmail.com>
 * @editor $Author: ixqbar $
 * @date $Date: 2011-05-07 13:24:30 +0000 (Sat, 07 May 2011) $
 * @version $Revision: 3 $
 */

return array(
    'debug'       => true,
    'xhprof'      => false,
    'controller'  => 'index:index',
    'cdn_url'     => array(
                        'http://s1.linju.com'
                     ),
    'dbserver'    => array(
                        'independent' => false,
                        'master' => array(
                            'database' => 'www_linju_com',
                            'server'   => 'localhost',
                            'port'     => '3306',
                            'username' => 'monster',
                            'password' => '123456',
                            'charset'  => 'uft8'
                        ),
                         'salve' => array(
                             'database' => 'www_linju_com',
                             'server'   => 'localhost',
                             'port'     => '3306',
                             'username' => 'monster',
                             'password' => '123456',
                             'charset'  => 'uft8'
                         )

                    ),
    'cacheserver' => array(
                        'server' => array(
                            'host'     => '127.0.0.1',
                            'port'     => '6379',
                            'database' => 1,
                            'timeout'  => 5
                        ),
                        'worker' => array(
                            'host'     => '127.0.0.1',
                            'port'     => '6379',
                            'database' => 2,
                            'timeout'  => 5
                        )
                    ),
    'services'   => array(
                        'log'   => array(
                            'xhprof_server' => 'http://www.test.com/xhprof.php',
                            'xhprof_spost'  => true
                        ),
                        'queue' => array(
                            
                        )
                     ),
    'template'    => array(
                        'style'          => 'default',
                        'caching'        => false,
                        'cache_lifetime' => 3600,
                        'page_suffix'    => '.phtml',
                        'cache_fold'     => 'temp'
                     )
    
);
?>
